package com.atguigu.gulistudy.product.vo;

import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author hnb
 * @version 1.0
 * @Description:
 * @date 2022/7/24 下午1:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Catelogs2Vo {
    /**
     * 一级分类的id
     */
    private String catalog1Id;
    /**
     * 三级子分类
     */
    private List<Catelog3Vo> catalog3List;
    private String id;
    private String name;

    /**
     * 三级分类vo
     */
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catelog3Vo{
        /**
         * 父分类、二级分类id
         */
        private String catelog2Id;
        private String id;
        private String name;

    }
}
